import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'


Vue.prototype.$vuex = store

//导入elementui 开始
import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/element-variables.scss'
import 'element-ui/lib/theme-chalk/display.css';
import { Loading } from 'element-ui';
Vue.use(ElementUI, { size: 'small', zIndex: 3000 });
//导入elementui 结束

// 导入请求模型 开始
import model from './assets/js/api/model.js'
Vue.prototype.$model = model
// 导入请求模型 结束

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
